<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<base href="<%=basePath%>">
<title>job detail</title>

<script src="js/jquery.js" type="text/javascript"></script>
<script src="daoepingjs/script_common.js" type="text/javascript"></script>
<script src="js/Calendar.js"></script>
<script src="js/Birthday-Calendar.js" type="text/javascript"></script>
<script src="js/city.js" type="text/javascript"></script>

<!-- JQueryUI -->
<link href="jquery-ui/css/redmond/jquery-ui-1.9.2.custom.css" rel="stylesheet" type="text/css">
<script src="jquery-ui/js/jquery-1.8.3.js"></script>
<script src="jquery-ui/js/jquery-ui-1.9.2.custom.js"></script>
<script src="jquery-ui/common.js"></script>
<link href="jquery-ui/CommonCSS.css" rel="stylesheet" type="text/css">



</head>
<script type="text/javascript">

$(document).ready(function() {

});

</script>
<body >
	<s:form action="editUsr_workexperience" method="post" namespace="/">
	<s:set value="#request.myUsr_workexperience" id="usr_workexperience" />
		<!-- Tabs -->
		<div id="tabs" >

			<div id="tabs-2" >
				
				<div id="adds"><strong>工作经验</strong>
					<span >                        	
                       	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;                    
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;                    
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;                                           
                    </span>
				</div>
				<div  id="edits" style="display:none" ><h5 >编辑工作经验</h5></div>
					<div >
						<p>
							<span align="right"><i >*</i>
							<span><strong>企业名称</strong>
								<input type="hidden" name="usr_workexperience.usr_user.id"	value="${usr_workexperience.usr_user.id}"/>
								<input type="hidden" name="usr_workexperience.id"	value="${usr_workexperience.id}"/>
								<input type="hidden" name="cop_companyinfo.id"	value="${usr_workexperience.cop_companyinfo.id}"/>
								<input type="text" name ="cop_companyinfo.name" value="${usr_workexperience.cop_companyinfo.name}" maxlength="30" >
							</span>

						</span>
						</p>
						<p>
							<span align="right"><i >*</i></span>
							<span><strong>工作时间</strong>
								从<input name="usr_workexperience.startDate" onclick="new Calendar().show(this);" value="${usr_workexperience.startDate}" readonly="readonly" />&nbsp;到
								<input name="usr_workexperience.endDate" onclick="new Calendar().show(this);" value="${usr_workexperience.endDate}" readonly="readonly" />
							</span>
							
						</p>
						<p>
							<span align="right">&nbsp;</span>
							<span><strong>工作性质</strong></span>
							<span>
							   	<s:bean name="bsc_worktypeAction" id="bsc_worktypeAction"/>
								<s:select name="usr_workexperience.bsc_worktype.id" list="#bsc_worktypeAction.findBsc_worktypeList()" listKey="id" listValue="name" 
								theme="simple" value="#usr_workexperience.bsc_worktype.id"> </s:select>
								
							</span>
						</p>
                        <p>
							<span align="right" valign="top"><i >*</i></span>
							<span valign="top"><strong>工作描述</strong></span>
							<span>

								<input type="textarea" name="usr_workexperience.description" cols="100" rows="10" maxlength="1000" value="${usr_workexperience.description}"/>
							</span>
						</p>
						<p>
							<span align="right">&nbsp;</span>
							<span><strong>税前月薪</strong></span>
							<span>				
								<input name="usr_workexperience.salary" type="text" value="${usr_workexperience.salary}"/>&nbsp;元
							</span>
						</p>
						
                        <p>
	                        <span  align="right">&nbsp;</span>
	                        <span  valign="middle" colspan="2">
		                        <a href="#" style="color: #009BD8;" id="txgdgrxx">填写完整项目经验&nbsp;
		                        <span class="arrDownInf"></span></a>
		                    </span>
                        </p>
                        
						<s:iterator value="#request.myUsr_projectexperience" id="usr_projectexperience" >
						<div>
						<p>
							<span align="right">&nbsp;</span>
							<span ><strong>项目名称</strong></span>
							<span>
								<span id="address" >
									<i id="hiwork"></i>
									<input type="hidden" name="usr_projectexperience.id"	value="${usr_projectexperience.id}"/>
									<input type="text" name="usr_projectexperience.name" value="${usr_projectexperience.name}"/>											
								</span>
							</span>
						</p>
						<p>
							<span align="right">&nbsp;</span>
							<span align="right"><strong>工作时间</strong>
								从<input name="usr_projectexperience.startDate" onclick="new Calendar().show(this);" value="${usr_projectexperience.startDate}" readonly="readonly" />&nbsp;到
								<input name="usr_projectexperience.endDate" onclick="new Calendar().show(this);" value="${usr_projectexperience.endDate}" readonly="readonly" />
							</span>
						</p>
						<p>						 
							<span align="right">&nbsp;</span>
							<span  ><strong>所在部门</strong></span>
							<span>
								<s:bean name="bsc_departmentAction" id="bsc_departmentAction"/>
								<s:select name="usr_projectexperience.bsc_department.id" list="#bsc_departmentAction.findBsc_departmentList()" listKey="id" listValue="name" 
									theme="simple" value="#usr_projectexperience.bsc_department.id"></s:select>
							</span>
					 	</p>
					 	<p>
							<span align="right">&nbsp;</span>
							<span><strong>职位类别</strong></span>
							<span>
								<s:bean name="bsc_jobtypeAction" id="bsc_jobtypeAction"/>
								<s:select name="usr_projectexperience.bsc_jobtype.id" list="#bsc_jobtypeAction.findBsc_jobtypeList()" listKey="id" listValue="name" 
									theme="simple" value="#usr_projectexperience.bsc_jobtype.id"></s:select>								
							</span>
						</p>
					 	<p>
							<span align="right">&nbsp;</span>
							<span><strong>职位名称</strong></span>
							<span>
								<s:bean name="bsc_jobtitleAction" id="bsc_jobtitleAction"/>
								<s:select name="usr_projectexperience.bsc_jobtitle.id" list="#bsc_jobtitleAction.findBsc_jobtitleList()" listKey="id" listValue="name" 
									theme="simple" value="#usr_projectexperience.bsc_jobtitle.id"></s:select>								
							</span>
						</p>
					    <p>
							<span align="right" valign="top"><i >*</i></span>
							<span valign="top"><strong>工作描述</strong></span>
							<span>
								<!-- <textarea name="usr_projectexperience.description" cols="100" rows="10" value="${usr_projectexperience.description}"></textarea> -->
								<input type="textarea" name="usr_projectexperience.description" cols="100" rows="10" maxlength="1000" value="${usr_projectexperience.description}"/>
							</span>
						</p>
						</div>
						</s:iterator>
					</div>
					  

			
				
			</div>			
			
			<div id="tabs-1">&nbsp;</div>
			
			
			<div id="tabs-3">&nbsp;</div>
			</div>
				

			
			<div  id="middle1">			
				<input type="submit" value="submit"/>
			</div>

		</div>
	</s:form>
</body>


</html>










